popover: Accept NULL relative_to widgets
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 18 Feb 2014 13:38:30 +0000 (14:38 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 19 Feb 2014 05:25:34 +0000 (00:25 -0500)
commit63bb834b2e621db11d86d29a3f084e8cb9938f18
tree37e9f6db6a6339184f9d16d718f30c81a742b7e9
parent2f379604d1f2211406b74aefd6553e2bd452ccc0
popover: Accept NULL relative_to widgets

And document the fact that the popover will get destroyed if
a NULL relative-to is given on a parented popover, if no extra
references are kept.

For gtk_popover_new*(), a NULL relative-to will leave the widget
as a floating object, to be sunk by a later call to
gtk_widget_set_relative_to().

https://bugzilla.gnome.org/show_bug.cgi?id=724407
gtk/gtkpopover.c